<?php
/**
 * Created by 长毋相忘c.
 * 文件用途描述 :
 * Date: 2018/2/12/012
 * Time: 0:08
 */

namespace app\api\model;


class Category extends  BaseModel
{
    protected $autoWriteTimestamp=true;
    public function img(){
        return $this->belongsTo('Image','topic_img_id','id');
    }
}